dreamweaver.getFocus()

Availability 3.0
Description Determines the part of the application that has focus.
Arguments bAllowFloaters
Returns One of the following strings:
"document" if the Document window is active
"site" if the Site window is active
floaterName if bAllowFloaters is TRUE and a floating palette has focus, where floaterName is "objects", "properties", "launcher", "library", "css styles", "html styles", "behaviors", "timelines", "html", "layers", "frames", "templates", or "history"
(Macintosh) "none" if neither the Site window nor any Document windows are open
Enabler None.